package com.athl.gulimall.ware.feign;

import com.athl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className: com.athl.gulimall.ware.feign.ProductFeignService
 * @description: TODO
 * @author: 易鑫
 * @create: 2022-08-07 16:37
 */

@FeignClient("gulimall-product")
public interface ProductFeignService {

    @RequestMapping("/product/spuinfo/info/{id}")
    public R info(@PathVariable("id") Long id);
}
